home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 43 61 6c 6c 69 6e 67 | 20 61 20 46 75 6e 63 74 | Calling| a Funct|
|00000090| 69 6f 6e 20 54 77 69 63 | 65 20 66 72 6f 6d 20 61 |ion Twic|e from a|
|000000a0| 20 70 72 69 6e 74 66 20 | 73 74 61 74 65 6d 65 6e | printf |statemen|
|000000b0| 74 2e 0a 44 61 74 65 3a | 20 4d 6f 6e 2c 20 34 20 |t..Date:| Mon, 4 |
|000000c0| 4d 61 72 20 31 39 39 36 | 20 31 37 3a 30 34 3a 32 |Mar 1996| 17:04:2|
|000000d0| 30 20 2d 30 36 30 30 0a | 4f 72 67 61 6e 69 7a 61 |0 -0600.|Organiza|
|000000e0| 74 69 6f 6e 3a 20 55 6e | 69 76 65 72 73 69 74 79 |tion: Un|iversity|
|000000f0| 20 6f 66 20 49 6f 77 61 | 2c 20 49 6f 77 61 20 43 | of Iowa|, Iowa C|
|00000100| 69 74 79 2c 20 49 41 2c | 20 55 53 41 0a 44 69 73 |ity, IA,| USA.Dis|
|00000110| 74 72 69 62 75 74 69 6f | 6e 3a 20 77 6f 72 6c 64 |tributio|n: world|
|00000120| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 50 69 |.Message|-ID: <Pi|
|00000130| 6e 65 2e 41 33 32 2e 33 | 2e 39 31 2e 39 36 30 33 |ne.A32.3|.91.9603|
|00000140| 30 34 31 37 30 30 35 30 | 2e 39 36 32 30 39 44 2d |04170050|.96209D-|
|00000150| 31 30 30 30 30 30 40 62 | 6c 61 63 6b 2e 77 65 65 |100000@b|lack.wee|
|00000160| 67 2e 75 69 6f 77 61 2e | 65 64 75 3e 0a 52 65 66 |g.uiowa.|edu>.Ref|
|00000170| 65 72 65 6e 63 65 73 3a | 20 3c 34 68 65 36 71 39 |erences:| <4he6q9|
|00000180| 24 36 72 36 40 6e 65 77 | 73 62 66 30 32 2e 6e 65 |$6r6@new|sbf02.ne|
|00000190| 77 73 2e 61 6f 6c 2e 63 | 6f 6d 3e 0a 4e 4e 54 50 |ws.aol.c|om>.NNTP|
|000001a0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 62 |-Posting|-Host: b|
|000001b0| 6c 61 63 6b 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |lack.wee|g.uiowa.|
|000001c0| 65 64 75 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |edu.Mime|-Version|
|000001d0| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|000001e0| 70 65 3a 20 54 45 58 54 | 2f 50 4c 41 49 4e 3b 20 |pe: TEXT|/PLAIN; |
|000001f0| 63 68 61 72 73 65 74 3d | 55 53 2d 41 53 43 49 49 |charset=|US-ASCII|
|00000200| 0a 58 2d 53 65 6e 64 65 | 72 3a 20 72 6f 62 69 6e |.X-Sende|r: robin|
|00000210| 73 6f 6e 40 62 6c 61 63 | 6b 2e 77 65 65 67 2e 75 |son@blac|k.weeg.u|
|00000220| 69 6f 77 61 2e 65 64 75 | 0a 49 6e 2d 52 65 70 6c |iowa.edu|.In-Repl|
|00000230| 79 2d 54 6f 3a 20 3c 34 | 68 65 36 71 39 24 36 72 |y-To: <4|he6q9$6r|
|00000240| 36 40 6e 65 77 73 62 66 | 30 32 2e 6e 65 77 73 2e |6@newsbf|02.news.|
|00000250| 61 6f 6c 2e 63 6f 6d 3e | 20 0a 0a 4f 6e 20 34 20 |aol.com>| ..On 4 |
|00000260| 4d 61 72 20 31 39 39 36 | 2c 20 52 61 7a 69 6e 65 |Mar 1996|, Razine|
|00000270| 20 77 72 6f 74 65 3a 0a | 0a 3e 20 49 20 61 6d 20 | wrote:.|.> I am |
|00000280| 74 72 79 69 6e 67 20 74 | 6f 20 63 61 6c 6c 20 61 |trying t|o call a|
|00000290| 20 66 75 6e 63 74 69 6f | 6e 20 74 77 69 63 65 20 | functio|n twice |
|000002a0| 66 72 6f 6d 20 6d 79 20 | 70 72 6f 67 72 61 6d 20 |from my |program |
|000002b0| 6f 6e 20 74 68 65 20 73 | 61 6d 65 20 70 72 69 6e |on the s|ame prin|
|000002c0| 74 66 0a 3e 20 6c 69 6e | 65 20 61 6e 64 20 68 61 |tf.> lin|e and ha|
|000002d0| 76 65 20 72 75 6e 20 69 | 6e 74 6f 20 61 20 73 6d |ve run i|nto a sm|
|000002e0| 61 6c 6c 20 70 72 6f 62 | 6c 65 6d 2e 20 20 69 20 |all prob|lem. i |
|000002f0| 77 61 73 20 77 6f 6e 64 | 65 72 69 6e 67 20 69 66 |was wond|ering if|
|00000300| 20 73 6f 6d 65 6f 6e 65 | 20 63 61 6e 0a 3e 20 65 | someone| can.> e|
|00000310| 78 70 6c 61 69 6e 20 68 | 6f 77 20 74 6f 20 66 69 |xplain h|ow to fi|
|00000320| 78 20 69 74 2e 0a 3e 20 | 0a 3e 20 0a 3e 20 76 6f |x it..> |.> .> vo|
|00000330| 69 64 20 6d 61 69 6e 28 | 76 6f 69 64 29 20 7b 0a |id main(|void) {.|
|00000340| 0a 69 6e 74 20 6d 61 69 | 6e 28 76 6f 69 64 29 20 |.int mai|n(void) |
|00000350| 7b 0a 0a 3e 20 20 20 20 | 70 72 69 6e 74 66 28 22 |{..> |printf("|
|00000360| 46 69 72 73 74 20 4e 75 | 6d 62 65 72 20 69 73 20 |First Nu|mber is |
|00000370| 25 64 20 2c 20 74 68 65 | 20 53 65 63 6f 6e 64 20 |%d , the| Second |
|00000380| 73 20 25 64 20 5c 6e 22 | 2c 6e 75 6d 28 30 29 2c |s %d \n"|,num(0),|
|00000390| 6e 75 6d 28 31 29 29 3b | 0a 0a 20 20 72 65 74 75 |num(1));|.. retu|
|000003a0| 72 6e 20 30 3b 20 20 2f | 2a 20 6f 72 20 72 65 74 |rn 0; /|* or ret|
|000003b0| 75 72 6e 20 45 58 49 54 | 5f 53 55 43 43 45 53 53 |urn EXIT|_SUCCESS|
|000003c0| 20 2a 2f 0a 0a 3e 20 7d | 0a 3e 20 0a 3e 20 69 6e | */..> }|.> .> in|
|000003d0| 74 20 6e 75 6d 28 69 6e | 74 20 69 6e 64 65 78 29 |t num(in|t index)|
|000003e0| 20 7b 0a 3e 20 20 20 20 | 69 6e 74 20 72 65 74 75 | {.> |int retu|
|000003f0| 72 6e 5f 6e 75 6d 62 65 | 72 3b 0a 3e 20 20 20 20 |rn_numbe|r;.> |
|00000400| 0a 3e 20 20 20 20 73 77 | 69 74 63 68 28 69 6e 64 |.> sw|itch(ind|
|00000410| 65 78 29 20 7b 0a 3e 20 | 20 20 20 20 20 20 20 63 |ex) {.> | c|
|00000420| 61 73 65 20 30 20 3a 20 | 72 65 74 75 72 6e 5f 6e |ase 0 : |return_n|
|00000430| 75 6d 62 65 72 3d 30 3b | 0a 0a 09 20 62 72 65 61 |umber=0;|... brea|
|00000440| 6b 3b 20 20 2f 2a 20 6f | 74 68 65 72 77 69 73 65 |k; /* o|therwise|
|00000450| 20 74 68 65 20 73 77 69 | 74 63 68 20 22 66 61 6c | the swi|tch "fal|
|00000460| 6c 73 20 74 68 72 6f 75 | 67 68 22 20 61 6e 64 20 |ls throu|gh" and |
|00000470| 65 78 65 63 75 74 65 73 | 20 0a 09 09 20 20 73 75 |executes| ... su|
|00000480| 62 73 65 71 75 65 6e 74 | 20 6c 69 6e 65 73 20 69 |bsequent| lines i|
|00000490| 6e 20 74 68 65 20 73 77 | 69 74 63 68 21 20 20 20 |n the sw|itch! |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004b0| 20 2a 2f 0a 0a 3e 20 20 | 20 20 20 20 20 20 63 61 | */..> | ca|
|000004c0| 73 65 20 31 20 3a 20 72 | 65 74 75 72 6e 5f 6e 75 |se 1 : r|eturn_nu|
|000004d0| 6d 62 65 72 3d 31 3b 0a | 0a 09 20 62 72 65 61 6b |mber=1;.|.. break|
|000004e0| 3b 20 20 2f 2a 20 6e 6f | 74 20 6e 65 63 65 73 73 |; /* no|t necess|
|000004f0| 61 72 79 2c 20 62 75 74 | 20 67 6f 6f 64 20 66 6f |ary, but| good fo|
|00000500| 72 6d 20 28 65 73 70 20 | 69 66 20 79 6f 75 20 61 |rm (esp |if you a|
|00000510| 64 64 20 61 20 63 61 73 | 65 20 32 29 20 2a 2f 0a |dd a cas|e 2) */.|
|00000520| 0a 3e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.> | |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 3e 20 20 20 | | }.> |
|00000540| 20 72 65 74 75 72 6e 28 | 72 65 74 75 72 6e 5f 6e | return(|return_n|
|00000550| 75 6d 62 65 72 29 3b 0a | 3e 20 7d 0a 0a 20 2d 2d |umber);.|> }.. --|
|00000560| 4a 61 6d 65 73 20 52 6f | 62 69 6e 73 6f 6e 20 28 |James Ro|binson (|
|00000570| 72 6f 62 69 6e 73 6f 6e | 40 63 73 2e 75 69 6f 77 |robinson|@cs.uiow|
|00000580| 61 2e 65 64 75 20 2d 6f | 72 2d 20 6a 61 6d 65 73 |a.edu -o|r- james|
|00000590| 2d 72 6f 62 69 6e 73 6f | 6e 40 75 69 6f 77 61 2e |-robinso|n@uiowa.|
|000005a0| 65 64 75 29 0a 2f 2a 20 | 20 20 49 6e 64 65 65 64 |edu)./* | Indeed|
|000005b0| 2c 20 43 2b 2b 20 69 73 | 20 61 20 62 69 74 20 6f |, C++ is| a bit o|
|000005c0| 66 20 61 6e 20 6f 64 64 | 62 61 6c 6c 20 6f 66 20 |f an odd|ball of |
|000005d0| 61 20 6c 61 6e 67 75 61 | 67 65 20 2e 2e 2e 20 67 |a langua|ge ... g|
|000005e0| 69 76 65 6e 20 74 68 65 | 20 77 61 79 20 74 68 61 |iven the| way tha|
|000005f0| 74 20 2a 0a 20 2a 20 69 | 74 20 72 65 71 75 69 72 |t *. * i|t requir|
|00000600| 65 73 20 70 72 69 76 61 | 74 65 20 70 61 72 74 73 |es priva|te parts|
|00000610| 20 74 6f 20 62 65 20 76 | 69 73 69 62 6c 65 2e 20 | to be v|isible. |
|00000620| 20 54 68 69 73 20 69 6e | 63 72 65 61 73 65 73 20 | This in|creases |
|00000630| 74 68 65 20 73 74 72 65 | 6e 67 74 68 20 6f 66 20 |the stre|ngth of |
|00000640| 20 2a 0a 20 2a 20 63 6f | 75 70 6c 69 6e 67 20 64 | *. * co|upling d|
|00000650| 72 61 6d 61 74 69 63 61 | 6c 6c 79 2e 2e 2e 20 20 |ramatica|lly... |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 20 20 20 20 2d 2d 20 | 44 72 2e 20 52 69 63 68 | -- |Dr. Rich|
|00000680| 20 41 72 74 79 6d 20 20 | 20 20 20 20 20 20 20 20 | Artym | |
|00000690| 2a 2f 0a | |*/. | |
+--------+-------------------------+-------------------------+--------+--------+